package dhu.cst.jnlwt.jiangnan181310209liwanting181310302.tally.entity;

public class CategoryBean {
    private int id;
    private String category;//类别
    private int type;//指出或收入:收入是0，支出是1
    private String belong;//类别归属
    private int icon;//图标

    public CategoryBean(int id, String category, int type, String belong, int icon) {
        this.id = id;
        this.category = category;
        this.type = type;
        this.belong = belong;
        this.icon = icon;
    }

    public CategoryBean(String category, int type, String belong, int icon) {
        this.category = category;
        this.type = type;
        this.belong = belong;
        this.icon = icon;
    }
    public CategoryBean(){}

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getCategory() {
        return category;
    }

    public void setCategory(String category) {
        this.category = category;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getBelong() {
        return belong;
    }

    public void setBelong(String belong) {
        this.belong = belong;
    }

    public int getIcon() {
        return icon;
    }

    public void setIcon(int icon) {
        this.icon = icon;
    }
}
